invalid types ‘<unresolved overloaded function type>[int]‘ for array subscript |
您所在的位置:网站首页 › c语言中invalid operands of types › invalid types ‘<unresolved overloaded function type>[int]‘ for array subscript |
invalid types ‘<unresolved overloaded function type>[int]‘ for array subscript|
康康好老啊: 你出错的原因是你写错了??? invalid types ‘<unresolved overloaded function type>[int]‘ for array subscript|天佑之福: 该怎么改呢 杭电1015黑山咩: [code=cpp] #include"iostream" #include"stdio.h" #include"math.h" #include"string.h" #include"algorithm" using namespace std; int n,a[10],book[20],flag,mm[20]; double goal,c; char m[20],aa[10]; void dfs(int step) { int i,j; if(flag) //若已找到,直接退出 return; if(step==5) //当有五个数时进行检查 { c=a[0]-pow(a[1],2)+pow(a[2],3)-pow(a[3],4)+pow(a[4],5); if(c==goal) { flag=1; for(j=0; j=0; i--) //倒着找 { if(book[i]==0&&stepm; //密 [/code] 杭电1015黑山咩: 你忘记调用dfs了。。 |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |